package igiant.customer.facade.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import igiant.common.generator.base.BaseEntity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 客户表
 *
 */
@TableName("t_customer")
public class Customer extends BaseEntity {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 昵称 */
	@TableField(value = "short_name")
	private String shortName;

	/** 密码 */
	private String password;

	/** 姓名 */
	private String name;

	/** 性别   (male)男，(female)女，(secrecy)保密 */
	private String sex;

	/** 生日 */
	private Date birthday;

	/** 移动电话 */
	private String mobilephone;

	/** 客户种类 */
	@TableField(value = "customer_type")
	private String customerType;

	/** 客户来源 */
	@TableField(value = "customer_source")
	private String customerSource;

	/** 电话 */
	private String telephone;

	/** 邮箱 */
	private String mail;

	/** 是否黑名单 */
	@TableField(value = "black_flg")
	private String blackFlg;

	/** 客户头像 */
	private String avatar;

	/** 最后登录时间 */
	@TableField(value = "last_login")
	private Date lastLogin;

	/** 系统类型 */
	@TableField(value = "device_os")
	private String deviceOs;

	/** token */
	@TableField(value = "app_token")
	private String appToken;

	/**  */
	private String white;

	/** 经度 */
	private Double longitude;

	/** 纬度 */
	private Double latitude;

	/** 门店ID */
	private String storeId;

	/**  */
	@TableField(value = "wx_pub_open_id")
	private String wxPubOpenId;


	public String getShortName() {
		return this.shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getMobilephone() {
		return this.mobilephone;
	}

	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}

	public String getCustomerType() {
		return this.customerType;
	}

	public void setCustomerType(String customerType) {
		this.customerType = customerType;
	}

	public String getCustomerSource() {
		return this.customerSource;
	}

	public void setCustomerSource(String customerSource) {
		this.customerSource = customerSource;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getMail() {
		return this.mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getBlackFlg() {
		return this.blackFlg;
	}

	public void setBlackFlg(String blackFlg) {
		this.blackFlg = blackFlg;
	}

	public String getAvatar() {
		return this.avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Date getLastLogin() {
		return this.lastLogin;
	}

	public void setLastLogin(Date lastLogin) {
		this.lastLogin = lastLogin;
	}

	public String getDeviceOs() {
		return this.deviceOs;
	}

	public void setDeviceOs(String deviceOs) {
		this.deviceOs = deviceOs;
	}

	public String getAppToken() {
		return this.appToken;
	}

	public void setAppToken(String appToken) {
		this.appToken = appToken;
	}

	public String getWhite() {
		return this.white;
	}

	public void setWhite(String white) {
		this.white = white;
	}

	public Double getLongitude() {
		return this.longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return this.latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public String getStoreId() {
		return this.storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getWxPubOpenId() {
		return this.wxPubOpenId;
	}

	public void setWxPubOpenId(String wxPubOpenId) {
		this.wxPubOpenId = wxPubOpenId;
	}

}
